package com.ttc.ssm.mapper.home;

import com.ttc.ssm.common.JobPage;
import com.ttc.ssm.common.SearchJobPage;
import com.ttc.ssm.po.Job;

import java.util.List;
import java.util.Map;

/**
 * Created by 58296 on 2016/8/9.
 */
public interface HomeJobMapper {
    List<Job> selectJobForPage(JobPage jobPage) throws Exception;
    int countRows(JobPage jobPage) throws Exception;
    Job selectJobById(Integer job_id) throws Exception;

    List<Job> selectJob(SearchJobPage searchJobPage) throws Exception;
    int countRowsForSearchJob(SearchJobPage searchJobPage) throws Exception;
    int selectCompanyIdByJobId(int job_id) throws Exception;
}
